babl-gen-test-pixels is only needed to regenerate the source
pixels and doesn't need to be run as part of the normal build
process.
fi
+##################
+# Check for random
+##################
+have_srandom=no
+AC_CHECK_FUNC(srandom, have_srandom=yes)
+AM_CONDITIONAL([HAVE_SRANDOM], [test x$have_srandom = xyes])
+
dnl ===========================================================================
AC_CHECK_HEADERS(dl.h)
LDADD = $(top_builddir)/babl/libbabl-@BABL_API_VERSION@.la \
$(MATH_LIB)
+if HAVE_SRANDOM
noinst_PROGRAMS = \
babl-gen-test-pixels
+endif
\ No newline at end of file